package com.hospital.hospitalworkservice.web;


import com.hospital.hospitalworkservice.entity.Vipgrade;
import com.hospital.hospitalworkservice.service.IVipgradeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 会员阶段表 前端控制器
 * </p>
 *
 * @author dwl
 * @since 2020-10-21
 */
@RestController
@RequestMapping("/vipgrade")
public class VipgradeController {

    @Autowired
    IVipgradeService iVipgradeService;

    @RequestMapping("/list")
    public List<Vipgrade> list(){
        return iVipgradeService.list();
    }
}
